package com.tiger.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("student_class")
public class StudentClass {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("source_key")
    private String sourceKey;

    @TableField("name")
    private String name;

    @TableField("parent_id")
    private Long parentId;

    @TableField("top_id")
    private Long topId;
}
